package cn.lang.consumer.controller;

import com.google.gson.JsonObject;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserFC<T> {

    @NotNull(message = "姓名不能为空")
    private String name;
    @NotNull(message = "年龄不能为空")
    private Integer age;

    private JsonObject data;
}
